-- GENERATED SPELL FOR [Bogstrok Crusher] --


function spell0_20295(pUnit, Event) --@Crush Armor,n/a--
pUnit:FullCastSpellOnTarget(21055,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20295', 30268, 1)
end

function Sorts_20295(pUnit, Event)
local choix_sorts_20295 = math.random(0, 0)
if choix_sorts_20295 == 0 then
pUnit:RegisterEvent('spell0_20295', 1, 1)
end
end

function mob20295_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20295', math.random(1500, 3000), 1)
end

function mob20295_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20295_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20295_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20295, 1, 'mob20295_Action')
RegisterUnitEvent(20295, 2, 'mob20295_Leave')
RegisterUnitEvent(20295, 3, 'mob20295_Kill')
RegisterUnitEvent(20295, 4, 'mob20295_Die')
